import getEnum from "./getEnum.js"
//字典数据
const dataList = [
	{key:"sex", name:"性别",
		options:[
			{key:"male", name:"男", fullName:"男性", value:49},
			{key:"female", name:"女", fullName:"女性", value:50},
		],
	},
	// {key:"xxxx", 其他属性}
]

const get = (options={})=>{
	return getEnum(dataList, options)
}

export default {
	get,
	filter:getEnum,//dataList数组对象，options选项集
}